<div id="mainContentBox">
<div id="topErrorInfo">
	<?php if ($error): ?>
		<p style='font-color:red'>您提供的信息有误，请更正后重试.<?php echo $errorinfo;?></p>
	<?php endif; ?>
</div>

<div id="belowMainContent">
	<div id="leftLoginForm">
		<?php echo $this->Form->create("User");?>
    		<?php echo $this->Form->input('username', array('size' => 20,'label'=>"用户名"); ?>
    		<?php echo $this->Form->input('password', array('type'=>"password",'size' => 20,'label'=>"密  码")); ?>
		    <?php echo $this->Form->submit('登陆'); ?>
		<?php echo $this->Form->end();?>
	</div>
	<div id="rightRegisterForm">
		<div>还没<?php echo $this->Html->link("注册",array("controller"=>"Users","action"=>"rigester")); ?>？<br/>
			<?php echo $this->Html->link("忘记",array("controller"=>"Users","action"=>"getpass")); ?>密码？
		</div>
	</div>
</div>
</div>